package linter.linterjava.POJO.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import linter.linterjava.POJO.DO.KnowledgeBase;
import linter.linterjava.POJO.UtilDTO.PageInfoDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 笔记知识库详情表
 * @author 北煜
 * @TableName note_knowledgebase
 */
@TableName(value ="note_knowledgebase")
@Data
@EqualsAndHashCode(callSuper = true)
public class NoteKnowledgebaseDTO extends PageInfoDTO implements Serializable {
    /**
     * 自增字段
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *  用户id
     */
    private Long userId;

    /**
     *  知识库名称
     */
    private String knowledgebaseName;

    /**
     * 知识库简介
     */
    private String knowledgebaseIntro;

    /**
     * 知识库类型
     */
    private String knowledgebaseType;
}
